<?php
    require_once("core/functions.php");
    core::getResource("Controller.LoginController");
    session_start();
?>
<?php $title = "View Role"; ?>
<?php include_once("header.php"); ?>
<div class="centerContent">
    <?php
        if ($loggedIn && $page->hasAccess()) {
            $addTag = false;
            include_once("WEB-INF/profile.php");
        } else {
            Core::redirect("404.php");
        }
    ?>

</div>
<?php include_once("footer.php"); ?>